WooCommerce\PayPalCommerce\Subscription\Helper\SubscriptionHelper S

Total Complexity 30
Dependencies 6
Dependents 7
Total lines 127
Lines of code 68
Logical lines of code 38
Comment lines 43
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
cart_contains_subscription()
A
56 9 18
order_pay_contains_subscription()
A
53 8 22
has_subscription()
S
77 4 3
current_product_is_subscription()
S
67 3 7
accept_only_automatic_payment_gateways()
S
64 3 10
is_subscription_change_payment()
S
71 2 5
plugin_is_active()
S
80 1 3